home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / eigenlib / dvector.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-18  |  183 b   |  10 lines

  1.  
  2. double *dvector(nl,nh)
  3. int nl,nh;
  4. {
  5.     double *v;
  6.     v = (double *)malloc((unsigned) (nh - nl + 1) * sizeof(double));
  7.     if (!v) printf("dvector: allocation failure!");
  8.     return(v - nl);
  9. }
  10.